package com.yc.utilslib.up;

import java.util.List;

/**
 * 作者：TanTun
 * 时间：2017/6/10
 * 邮箱：32965926@qq.com
 * 描述：
 */

public class Error {
    private int statusCode;
    private String message;
    private List<Err> errors;

    public int getStatusCode() {
        return statusCode;
    }

    public String getMessage() {
        return message;
    }

    public List<Err> getErrors() {
        return errors;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setErrors(List<Err> errors) {
        this.errors = errors;
    }

    public class Err {
        private int code;
        private String errorType;
        private String message;
        private String detils;

        public int getCode() {
            return code;
        }

        public String getErrorType() {
            return errorType;
        }

        public String getMessage() {
            return message;
        }

        public String getDetils() {
            return detils;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public void setErrorType(String errorType) {
            this.errorType = errorType;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public void setDetils(String detils) {
            this.detils = detils;
        }
    }
}
